package com.mallcloud.mall.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mallcloud.mall.admin.api.entity.SysRegion;
import com.mallcloud.mall.admin.mapper.SysRegionMapper;
import com.mallcloud.mall.admin.service.SysRegionService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 全国省市区
 */
@Service
public class SysRegionServiceImpl extends ServiceImpl<SysRegionMapper, SysRegion> implements SysRegionService {

	@Override
	public List<SysRegion> getCity(Long code) {
		return this.baseMapper.getCity(code);
	}

	@Override
	public List<SysRegion> getArea(Long code) {
		return this.baseMapper.getArea(code);
	}
}
